<div class="tab-pane" id="yx_coupon">
    <div class="panel panel-default" role="tabpanel">
        <div class="panel-heading">基础设置</div>
        <div class="panel-body">
<!--            优惠券使用模式-->
            <div class="form-group">
                <label class="col-sm-2 col-xs-12 control-label">优惠券使用模式</label>
                <div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
                    <label class="radio-inline">
                        <input name="coupon_use_type" value="0" {if $config['coupon_use_type']==0 || !$config['coupon_use_type']} checked="checked"{/if} type="radio"> 使用最大金额
                    </label>
                    <label class="radio-inline">
                        <input name="coupon_use_type" value="1" {if $config['coupon_use_type']==1} checked="checked"{/if} type="radio"> 叠加使用
                    </label>
                    <label class="radio-inline">
                        <input name="coupon_use_type" value="3" {if $config['coupon_use_type']==3} checked="checked"{/if} type="radio"> 阶梯金额
                    </label>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 col-xs-12 control-label">使用模式文本解释</label>
                <div class="col-sm-6 col-xs-12">
                    <div class="input-group">
                        <input type="text" class="form-control" style="width: 400px;"  placeholder="" name="coupon_mode_desc"  value="{$config['coupon_mode_desc']}">
                    </div>
                    <span class="help-block">当前模式下的文字解释：如【使用最大金额】 只能使用一张可用的最大金额优惠券用于付款抵扣；【叠加使用】可叠加使用多张可用优惠券用于付款抵扣；</span>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 col-xs-12 control-label">文本模版</label>
                <div class="col-sm-6 col-xs-12">
                    <div class="input-group">
                        <input type="text" class="form-control" style="width: 400px;"  placeholder="" name="coupon_txt_tmp"  value="{$config['coupon_txt_tmp']}">
                    </div>
                    <span class="help-block">默认：使用现金优惠券抵#fee元</span>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 col-xs-12 control-label">线下优惠券提示语</label>
                <div class="col-sm-6 col-xs-12">
                    <div class="input-group">
                        <input type="text" class="form-control" style="width: 400px;"  placeholder="" name="coupon_offline_tips"  value="{$config['coupon_offline_tips']}">
                    </div>
                    <span class="help-block">默认：(仅支持进店使用,详情联系客服)</span>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 col-xs-12 control-label">线下优惠券右上角文字</label>
                <div class="col-sm-6 col-xs-12">
                    <div class="input-group">
                        <input type="text" class="form-control" style="width: 400px;"  placeholder="" name="coupon_offline_right_txt_top"  value="{$config['coupon_offline_right_txt_top']}">
                    </div>
                    <span class="help-block">默认：进店可用</span>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 col-xs-12 control-label">线下优惠券按钮文字</label>
                <div class="col-sm-6 col-xs-12">
                    <div class="input-group">
                        <input type="text" class="form-control" style="width: 400px;"  placeholder="" name="coupon_offline_btn"  value="{$config['coupon_offline_btn']}">
                    </div>
                    <span class="help-block">默认：进店可用</span>
                </div>
            </div>
        </div>
    </div>

    <div class="panel panel-default" role="tabpanel">
        <div class="panel-heading">样式设置</div>
        <div class="panel-body">
            <div class="form-group">
                <label class="col-sm-2 col-xs-12 control-label">右侧浮标-背景图</label>
                <div class="col-sm-8 col-xs-12">
                    {php echo view_form_field_image('coupon_right_icon_bg',$config['coupon_right_icon_bg']);}
                    <span class="help-block">备注：默认图片地址：https://css2020.yixuan.net/2020css/yx2020/images/coupon.png</span>
                    <span class="help-block"><a href="https://css2020.yixuan.net/2020css/yx2020/images/coupon.psd" download>[设计标准PSD模版文件请点击下载]</a></span>
                </div>

            </div>
            <div class="form-group">
                <label class="col-sm-2 col-xs-12 control-label">右侧浮标-文字大小</label>
                <div class="col-sm-3 col-xs-12">
                    <div class="input-group">
                        <input type="number" class="form-control"  placeholder="" name="coupon_right_txt_size"  value="{$config['coupon_right_txt_size']}">
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 col-xs-12 control-label">右侧浮标-文字颜色</label>
                <div class="col-sm-8 col-xs-12">
                    {php echo view_form_field_color('coupon_right_txt_color',$config['coupon_right_txt_color']);}
                </div>
            </div>


            <div class="form-group">
                <label class="col-sm-2 col-xs-12 control-label">右侧浮标-文字上边距</label>
                <div class="col-sm-3 col-xs-12">
                    <div class="input-group">
                        <input type="number" class="form-control"  placeholder="" name="coupon_right_txt_top"  value="{$config['coupon_right_txt_top']}">
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 col-xs-12 control-label">右侧浮标-文字左边距</label>
                <div class="col-sm-3 col-xs-12">
                    <div class="input-group">
                        <input type="number" class="form-control"  placeholder="" name="coupon_right_txt_left"  value="{$config['coupon_right_txt_left']}">
                    </div>
                </div>
            </div>


        </div>
    </div>
</div>

<script>
</script>